﻿
@{
    ViewData["Title"] = "AddCkeditor";
}
@section Stylesheets {
    <link href="~/lib/jsTree/themes/default/style.css" rel="stylesheet" />
    <script src="~/lib/ckeditor/ckeditor.js"></script>
}
<h1>Create</h1>

<h4>Article</h4>
<hr />
<div class="row">
    <div class="col-md-12">
        <form>
            <textarea name="editor1" id="editor1" rows="10" cols="80">
                This is my textarea to be replaced with CKEditor.
            </textarea>
            <div class="bg-danger" style="width:80px;height:80px;"></div>
            <div class="bg-danger text-justify" style="width:300px;height:000px;">
                离开撒娇的分开了，骄傲了深刻的减肥困了就离开家，就看见，卡拉斯的肌肤雷吉洛克。奥斯卡老地方离开家。刻录机地方了立刻就爱上的
                 爱上了打飞机离开家，拉萨的恐惧法律框架卢卡斯阶段考虑了。 路径离开家刻录机 考虑了离开家了尽快了解是打开了房间的深刻理解安抚绿卡的时间
                就爱上了雕刻技法上课了打飞机。
            </div>
        </form>
    </div>
</div>

<div>
    
</div>

@section Scripts {
    @{await Html.RenderPartialAsync("_ValidationScriptsPartial");}
<script>
    // Replace the <textarea id="editor1"> with a CKEditor
    // instance, using default configuration.
    CKEDITOR.replace('editor1', {
        language: 'zh-cn',
        uiColor: '#9Aa8F3',
        filebrowserBrowseUrl: "/Manage/Home/ckFilesManage",
        filebrowserUploadUrl:"/Manage/Home/ckUpLoadFile" 
    });

</script>
}
